export default {
  path: '/house',
  name: 'house',
  component: () => import('@/layout/index.vue'),
  redirect: '/house/building', // 重定向:重新指向其它path,会改变网址
  meta: { title: '房产管理' },
  children: [
    {
      path: '/house/building',
      name: 'houseBuilding',
      component: () => import('@/views/house/building.vue'),
      meta: { title: '楼栋管理' }
    },
    {
      path: '/house/index',
      name: 'houseIndex',
      component: () => import('@/views/house/index.vue'),
      meta: { title: '房产管理' }
    }
  ]
}
